import http from '@/utils/request.js'

export const getUsers = (params) => {
    return http.post(http.webSite + '/sys/user/list',params)
}

export const login = (params) => {
    return http.post(http.webSite + '/login',params)
}

export const getUserInfo = (params) => {
    return http.post(http.webSite + '/user/info',params)
}

export const updatePwd = (params) => {
    return http.post(http.webSite + '/user/updatePwd',params)
}
